<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="page" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="secure,medical,chat">
	
	<script type="text/javascript" src="js/check.js"></script>
  </head>
  
  <body>
  <div>
   	<s:form action="register" cssStyle="margin: 0 auto;" method="POST" enctype="multipart/form-data">
   		<s:textfield name="user.username" label="UserName" id="username" onblur="checkUserName()" required="true"></s:textfield>
   		<s:password name="user.password" label="Password" id="password" onblur="checkPassword()" required="true"></s:password>
   		<s:password name="confirm" label="Confirm Password" id="confirm" onblur="checkConfirm()" required="true"></s:password>
   		<s:textfield name="user.lastName" label="Last Name" id="lastname" onblur="checkLastName()" required="true"></s:textfield>
   		<s:textfield name="user.firstName" label="First Name" id="firstname" onblur="checkFirstName()" required="true"></s:textfield>
   		<s:textfield name="birthday" label="Birthday(eg:1987-06-12)" id="birthday" onblur="checkBirthday()" required="true"></s:textfield>
   		<s:textfield name="user.cellphone" label="CellPhone(eg:[+86-]13552041314)" id="cellphone" onblur="checkCellPhone()" required="true"></s:textfield>
		<s:textfield name="user.officeTel" label="Office Telephone(eg:[021-]61231214)" id="officeTel" onblur="checkOfficePhone()" required="true"></s:textfield>
		<s:textfield name="user.familyTel" label="Family Telephone(eg:[021-]61231214)" id="familyTel" onblur="checkFamilyPhone()" ></s:textfield>
		<s:textfield name="user.hospitalTel" label="Hospital Telephone(eg:[021-]61231214)" id="hospitalTel" onblur="checkHospitalPhone()" required="true"></s:textfield>
		<s:textfield name="user.email" label="Email(eg:test@test.com)" id="email" onblur="checkEmail()" required="true"></s:textfield>
	    <s:textfield name="user.fax" label="Fax(eg:[+86-]13552041314)" id="fax" onblur="checkFax()"></s:textfield>
   		<s:textfield name="user.officeAddress" label="Office Address" ></s:textfield>
   		<s:textfield name="user.homeAddress" label="Home Address"></s:textfield>
   		<s:textfield name="user.hospitalAddress" label="Hospital Address"></s:textfield>
   		<s:textarea name="user.introduction" label="Introduction" cols="60" rows="6"></s:textarea>
   		<s:submit onclick="return checkForm()"></s:submit>
   	</s:form>
   	
  </div>
  
  
	
	
  </body>
</html>
